package com.yowasa.xiuxian.engine.item.zhuangbei.daoqi;

import com.yowasa.xiuxian.annoations.Item;
import com.yowasa.xiuxian.engine.item.ItemInterface;
import com.yowasa.xiuxian.entity.bo.user.UserBO;
import com.yowasa.xiuxian.entity.enums.ItemTypeEnum;
import com.yowasa.xiuxian.entity.enums.QualityEnum;
//铁 鬼 水 火 狼 雷
//A1 HP D2 A2 D1 MP
//    恶曜卜词
//图  斩铁断金	 A1
//图  真影旧事
//图  誓奉常道
//图  凶将显形
//图  负愿前行   A2

@Item(name = "凶将显形", type = ItemTypeEnum.WU_QI, price = 15000)
public class XiongJiangXianXing implements ItemInterface {

    private String attrJson = "{" +
            "\"hp\":0," +
            "\"mp\":0," +
            "\"atk\":60," +
            "\"spell\":60," +
            "\"def\":0," +
            "\"res\":0," +
            "\"imm\":0," +
            "\"spd\":0," +
            "\"quality\":0" +
            "}";


    @Override
    public String desc() {
        return "凶将显形。\n双攻提升";
    }

    @Override
    public String effect(UserBO userBO) {
//        updateByEquip(userBO,itemAttr);
        return "流程出错";
    }
    //血，蓝，     物攻，     法攻，    物抗，    法抗，    免疫，    速度
    //{"hp":603,"chp":603,"mp":97,"cmp":97,"atk":26,"spell":14,"def":38,"res":14,"imm":25,"spd":243}
    public String attr(QualityEnum qualityEnum){
        String attr = getAttr(qualityEnum, attrJson);
        return attr;
    }

}

